package com.yzy.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Getter
@Setter
public class GlobalProperties {
    @Value(value = "${jwt.header}")
    private String tokenHeader;

    @Value(value = "${jwt.prefix}")
    private String tokenPrefix;

    @Value(value = "${jwt.secret}")
    private String tokenSecret;

    @Value(value = "${jwt.expire_time}")
    private Long tokenExpireTime;

    @Value("${yz.password.cost}")
    private Integer pwdCost;

    @Value("${yz.password.salt}")
    private String pwdSalt;

    @Value("${yz.regex.username}")
    private String regexUserName;

    @Value("${yz.regex.mobile}")
    private String regexMobile;

    @Value("${yz.regex.simple_password}")
    private String regexSimplePassword;

    @Value("${yz.regex.strong_password}")
    private String regexStrongPassword;

    @Value("${yz.regex.email}")
    private String regexEmail;

    @Value("${yz.regex.creditcode}")
    private String creditCode;

    @Value("${file.path}")
    private String filePath;

    @Value("${ysy.AppKey}")
    private String ysyAppKey;

    @Value("${ysy.Secret}")
    private String ysySecret;

    @Value("${minio.endpoint}")
    private String endpoint;

    @Value("${minio.accessKey}")
    private String accessKey;

    @Value("${minio.secretKey}")
    private String secretKey;

    @Value("${minio.bucketName}")
    private String bucketName;

    @Value("${cos.secretId}")
    private String cosSecretId;

    @Value("${cos.secretkey}")
    private String cosSecretkey;

    @Value("${cos.bucketName}")
    private String cosBucketName;

    @Value("${cos.regin}")
    private String cosRegin;

    @Value("${cos.filePath}")
    private String cosFilePath;

    @Value("${zj.url}")
    private String zjUrl;

    @Value("${zj.username}")
    private String zjUsername;

    @Value("${zj.password}")
    private String zjPassword;

    @Value("${wechat.appID}")
    private String wxAppId;

    @Value("${wechat.appSecret}")
    private String wxAppIdSecret;

    @Value("${tyt.Authorization}")
    private String tytToken;

    @Value("${tyt.url}")
    private String tytUrl;
}
